<%@ page import="com.ruantu.clothing.entity.User" %>
<%--
  Created by IntelliJ IDEA.
  User: GC
  Date: 2018/7/6
  Time: 10:19
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
    <!-- 控制浏览器缓存 -->
    <meta http-equiv="Cache-Control" content="no-store" />
    <!-- 优先使用 IE 最新版本和 Chrome -->
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <!-- 页面描述 -->
    <meta name="description" content="不超过150个字符" />
    <!-- 页面关键词 -->
    <meta name="keywords" content="" />
    <title>库存盘点</title>
    <link rel="stylesheet" type="text/css" href="css/szjp.css"/>
    <link rel="stylesheet" type="text/css" href="css/weui.css">
   <%-- <script type="text/javascript" src="js/num-alignment.js"></script>--%>
    <script type="text/javascript" src="js/jquery-3.3.1.min.js"></script>
</head>
<body>
<div class="wrap" style="position:absolute">
    <h3 style="text-align: center"><%--&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;--%>

        商品编号：<span id="productCode"><%=request.getParameter("product_code")%></span></h3><br />
    <div class="edit_cash">
        <h4  align="center">基础信息</h4>
        <p>名&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;称：<span id="pname"></span></p>
        <p>款&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;号：<span id="pnum"></span></p>
        <p>颜&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;色：<span id="pcolor"></span></p>
        <p>尺&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;码：<span id="psize"></span></p>
        <p>原始数量：<span id="poNum"></span></p>
    </div><br />
<input id="reqNewQ" style="display:none" type="text" value="<%=request.getParameter("newQ")%>">
   <%-- <script type="text/javascript">
        $(function () {
            var newQ=$("#reqNewQ").val();
            alert(newQ)
            if (newQ!=null&&""!=newQ){
                $("#div").text(newQ)
            }
        })
    </script>--%>
    <div style="position: absolute"></div>
    <form action="" class="edit_cash" id="xaingduiweizhi">
        <p>实际数量</p>
        <div class="shuru">
            <div><span id="div"></span></div>
        </div>
    <%--  <input id="div" class="alignment" data-edit="true" value="0"/>--%>
        <p>根据盘点结果输入并提交</p>
    </form>

    <%--<div class="addOrPlus">
        <button onclick="addOneCount()">&nbsp;&nbsp;&nbsp;+&nbsp;&nbsp;&nbsp;</button><br><br>
        <button onclick="plusOneCount()">&nbsp;&nbsp;&nbsp;-&nbsp;&nbsp;&nbsp;&nbsp;</button>
    </div>
    <script>

        // 自定义类型：参数为数组，可多条数据
        alignmentFns.createType([{"test": {"step" : 10, "min" : 10, "max" : 999, "digit" : 0}}]);

        // 初始化
        alignmentFns.initialize();

        // 销毁
        alignmentFns.destroy();

        // js动态改变数据
        $("#4").attr("data-max", "12")
        // 初始化
        alignmentFns.initialize();

    </script>--%>
    <a href="javascript:history.back(-1)" style="text-decoration:none"><input type="button" value="返回" class="button" /></a>
</div>
<%--<div class="layer"></div>--%>
<%--<div id="loadgif" style="width:66px;height:66px;position:relative;top:40%;left: 80%">
    <ul>
        <li onclick="plusOneCount()" style="list-style-type:none;"><img  alt="加+" src="img/plus.png" height="50%" width="50%"/></li>
        <br/>
        <li  onclick="mimusOneCount()" style="list-style-type:none;"><img  alt="减-" src="img/minus.png" height="50%" width="50%"/></li>
    </ul>
</div>--%>

<div class="layer-content">
    <div class="form_edit clearfix">
        <%--<div >-</div>
        <div >﹀</div>
        <div >+</div>--%>
        <div class="num">1</div>
        <div class="num">2</div>
        <div class="num">3</div>
        <div class="num">4</div>
        <div class="num">5</div>
        <div class="num">6</div>
        <div class="num">7</div>
        <div class="num">8</div>
        <div class="num">9</div>
        <div id="remove">退格</div>
        <div class="num">0</div>
        <div style="background-color: #FFC125" onclick="insertPdNewQ()">完成</div>
    </div>
</div>
<script type="text/javascript" src="js/weui.js"></script>
<script type="text/javascript" src="js/szjp.js" ></script>
<script type="text/javascript" src="js/pdindex.js" charset="UTF-8"></script>
</body>
</html>

<% User user1=(User)session.getAttribute("info");
    if(user1!=null){%>
　
<%}else{ %>
<%response.sendRedirect("wxlogin.jsp"); %>
<%} %>